<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<script src="scripts/apps/sparepart/statdetail.js" type="text/javascript"></script>
<form id="statform">
   <input type="hidden" name="owner.id"  value="${owner.id}"/>
   <input type="hidden" name="usedate"   value="${usedate}" />
</form>
<table class="table table-striped">
	<thead>
		<tr>
			<th>名称</th>
			<th>型号</th>
			<th>厂家</th>
			<th>代理商</th>
			<th>数量</th>
			<th>单价</th>
			<th>使用单位</th>
			<th>配套设备</th>			
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${pageData.rows}" var="item">
			<tr>
				<td>${item.name}</td>
				<td>${item.typecalness}</td>
				<td>${item.manufacture}</td>
				<td>${item.agent}</td>
				<td>${item.amount}</td>
				<td>${item.price}</td>
				<td>${item.owner.name}</td>
				<td>${item.host.name}</td>				
			</tr>

		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="9">${pageData.pagination}</td>
		</tr>
	</tfoot>
</table>